package com.gxuwz.check.dao.admin;

import com.gxuwz.check.model.dto.TeacherDto;
import com.gxuwz.check.model.entity.SysClassEntity;
import com.gxuwz.check.model.entity.SysTeacherEntity;

import java.util.List;

public interface ITeacherAdminDao {
    /**
     * 获取所有老师
     */
    public List<TeacherDto> list(int page);

    /**
     * 删除学生
     */
    public void delete(Integer teacherId);

    /**
     * 修改学生
     */
    public void edit();

    /**
     * 添加学生
     */
    public void save(String teacherName,Integer teacherSex,String teacherTel,String collegeIdAdd,String classId);

    List<SysClassEntity> listClassByCollegeId(Integer collegeId);

    SysTeacherEntity findTeacherById(Integer teacherId);
}
